package com.leisure.services;

import com.leisure.pojo.TUser;

/**
 * ClassName: UserService
 * Package: com.leisure.service
 * Description: 用户服务
 *
 * @Author: MyLeisureLife
 * @Date: 2024/6/5:01:10:01 星期三
 */
public interface UserService {
    // 根据用户名查找用户
    TUser findByUserName(String encryptUsername);

    //注册
    void register(String username, String encryptPassword);

    //更新用户
    void update(TUser  user);
}
